package com.fangzhi.service;

import com.fangzhi.mobel.OrderAfter;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fangzhi.mobel.io.SaveAfterOrderIo;
import com.fangzhi.mobel.io.UpdateAfterIo;
import com.fangzhi.mobel.vo.DownloadAfterOrderExcelVo;
import com.fangzhi.utils.ResponseResult;

import java.time.LocalDate;
import java.util.List;

/**
* @author edy
* @description 针对表【order_after】的数据库操作Service
* @createDate 2024-09-22 22:17:25
*/
public interface OrderAfterService extends IService<OrderAfter> {

    ResponseResult saveAfterOrder(SaveAfterOrderIo io);

    ResponseResult toExists(Integer id, Integer needStatus, Long roleId, Integer pass);

    ResponseResult afterList(String orderId, LocalDate beginTime, LocalDate endTime, LocalDate beginTimeOrder, LocalDate endTimeOrder, String hotelName, Integer pageNo, Integer pageSize);

    ResponseResult updateAfter(UpdateAfterIo io);

    List<DownloadAfterOrderExcelVo> queryAfterOrderExcelList(LocalDate startTime, LocalDate endTime, String hotelName);

}
